package com.fit.dao.registration;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.fit.entities.LicencePlate;

public interface LicencePlateDAO {

	@CommitAfter
	public boolean save(LicencePlate registration);
	
	public LicencePlate findByLicencePlateNo(String licencePlateNo);
	
	public List<LicencePlate>  findAll();
	
	@CommitAfter
	public boolean update(LicencePlate registration);

	@CommitAfter
	public boolean deleteByLicencePlateNo(String licencePlateNo);

}
